package com.shycloud.mido.music.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.music.vo.UserCollectionVO;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shycloud.mido.music.mapper.MisUserBuyCollectionMapper;
import com.shycloud.mido.music.domain.MisUserBuyCollection;
import com.shycloud.mido.music.service.impl.MisUserBuyCollectionService;

@Service
@AllArgsConstructor
public class MisUserBuyCollectionServiceImpl extends ServiceImpl<MisUserBuyCollectionMapper, MisUserBuyCollection> implements
		MisUserBuyCollectionService {

	/** 购买曲集业务 mapper */
	private final MisUserBuyCollectionMapper buyCollectionMapper;

	@Override
	public IPage<UserCollectionVO> getBuyCollectionPage(Page page, String memberId) {
		return buyCollectionMapper.getBuyCollectionPage(page, memberId);
	}

}
